//
//  zhucebutton.m
//  BAOASystem
//
//  Created by michael on 2018/3/22.
//  Copyright © 2018年 czd. All rights reserved.
//

#import "zhucebutton.h"

@implementation zhucebutton
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
    
        self.titleLabel.font = [UIFont systemFontOfSize: 14.0];
    [self setTitleColor:[UIColor colorWithHexString:@"aeaeae"]forState:UIControlStateNormal];

                self.layer.cornerRadius=8.0f;
   self.layer.masksToBounds=YES;
    self.layer.borderColor=[[UIColor colorWithHexString:@"aeaeae"]CGColor];
    self.layer.borderWidth= 1.0f;
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
